Public NotInheritable Class frmAbout

    Private Sub frmAbout_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        ' Set the title of the form.
        Dim ApplicationTitle As String
        If My.Application.Info.Title <> "" Then
            ApplicationTitle = My.Application.Info.Title
        Else
            ApplicationTitle = System.IO.Path.GetFileNameWithoutExtension(My.Application.Info.AssemblyName)
        End If
        Me.Text = String.Format(Language.ReadAbout("msgABOUT"), ApplicationTitle)
        ' Initialize all of the text displayed on the About Box.
        Me.LabelProductName.Text = My.Application.Info.ProductName
        Me.LabelVersion.Text = String.Format(Language.ReadAbout("msgVERSION"), My.Application.Info.Version.Major.ToString + "." + My.Application.Info.Version.Minor.ToString + "." + My.Application.Info.Version.Build.ToString)
        Me.LabelCopyright.Text = My.Application.Info.Copyright
        Me.LabelCompanyName.Text = My.Application.Info.CompanyName
        Me.TextBoxDescription.Text = My.Application.Info.Description + ":" + Environment.NewLine + _
        "User Interface by Diego Fernando Escudero." + Environment.NewLine + _
        "Core Engine by Francisco Rubinelli and others." + Environment.NewLine + _
        "ZedGraph (2007) Library General Public License." + Environment.NewLine + _
        "TabStrip (2006) by Hadi Eskandari." + Environment.NewLine + _
        "AMS.Profile (2005) by Alvaro Mendez."
        Me.btnOK.Text = Language.ReadMessages("msgOK")
    End Sub

End Class
